package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司类型对象 company_type
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class CompanyType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** company_type表id */
    @Excel(name = "company_type表id")
    private Long cptId;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cptInsdate;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String cptName;

    public void setCptId(Long cptId) 
    {
        this.cptId = cptId;
    }

    public Long getCptId() 
    {
        return cptId;
    }

    public void setCptInsdate(Date cptInsdate) 
    {
        this.cptInsdate = cptInsdate;
    }

    public Date getCptInsdate() 
    {
        return cptInsdate;
    }

    public void setCptName(String cptName) 
    {
        this.cptName = cptName;
    }

    public String getCptName() 
    {
        return cptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cptId", getCptId())
            .append("cptInsdate", getCptInsdate())
            .append("cptName", getCptName())
            .toString();
    }
}
